/* 操作日志样式 */

/* 统计卡片容器 */
.logs-stats-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 0 16px;
}

.stats-card {
    flex: 1;
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-card-border);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stats-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.stats-value {
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF;
}

/* 筛选器容器 */
.logs-filter-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-card-border);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* 头部操作区域 */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    padding: 16px;
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-card-border);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 20px;
    justify-content: center;
}

.search-container {
    flex: 1;
    min-width: 200px;
    margin-right: 10px;
}

.search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--theme-card-border);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 14px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.filter-item label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.filter-item select {
    padding: 6px 12px;
    border: 1px solid var(--theme-card-border);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 14px;
    min-width: 120px;
}

.filter-item select:focus {
    outline: none;
    border-color: var(--theme-primary-color);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.filter-item select option {
    background: var(--theme-bg-color);
    color: #FFFFFF;
}

/* 日志表格容器 */
.logs-table-container {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-card-border);
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 20px;
}

/* 状态徽章 */
.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    min-width: 50px;
    display: inline-block;
}

.status-badge.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.status-badge.error {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
}

.status-badge.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
}

/* 操作描述和错误信息 */
.operation-desc,
.error-message {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: help;
}

.operation-desc:hover,
.error-message:hover {
    color: var(--theme-primary-color);
} 